<?php

/**
 * @Author: Wang Chunsheng 2192138785@qq.com
 * @Date:   2020-03-19 16:01:09
 * @Last Modified by:   Wang Chunsheng 2192138785@qq.com
 * @Last Modified time: 2020-03-19 17:04:44
 */

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $model \app\models\forms\ConfigurationForm */
/* @var $this \yii\web\View */

$this->title = Yii::t('app', '百度SDK设置');
?>
<div class="firetech-main" style="margin-top:20px;">
    <div class="panel panel-default">
        <div class="box-body">
            <div class="dd-member-create">
                <?php $form = ActiveForm::begin(); ?>

                <?= $form->field($model, 'title')->textInput(['maxlength' => true]) ?>

                <?= $form->field($model, 'logo')->widget('manks\FileInput', []); ?>
                <?= $form->field($model, 'banner')->widget('manks\FileInput', []); ?>

                <?= $form->field($model, 'intro')->textInput(['maxlength' => 24]) ?>

                <?= $form->field($model, 'address')->textInput(['maxlength' => 40]) ?>

                <?= $form->field($model, 'mobile')->textInput() ?>
                <?= $form->field($model, 'startingPrice')->textInput() ?>
                <?= $form->field($model, 'shippingDees')->textInput() ?>

                <?= $form->field($model, 'describe')->textarea(['row' => 3, 'maxlength' => 120]) ?>

                <?php echo Html::submitButton(Yii::t('app', '保存'), ['class' => 'btn btn-success']) ?>

                <?php ActiveForm::end(); ?>

            </div>
        </div>
    </div>
</div>